﻿
CREATE PROCEDURE [dbo].[proc_Finance_RunningAccountNon_Update]
	(		
		@Summary nvarchar(50),
		@AccountsTypeId int,
		@AccountsTypeName nvarchar(10),	
		@PaymentTypeId int,
		@PaymentTypeName nvarchar(50),
		@BankId int,
		@BankName nvarchar(50),
		@Money numeric(18,2),
		@Agent nvarchar(50),
		@AgentName nvarchar(50),
		@UserName nvarchar(50),
		@EName nvarchar(50),
		@Description nvarchar(200),
		@BillNumber nvarchar(50),
		@CompanyId int,
		@RId UNIQUEIDENTIFIER
	)
AS
begin
				
	update  Finance_RunningAccount_Non set	
		
		Summary=@Summary,
		AccountsTypeId=@AccountsTypeId,
		AccountsTypeName=@AccountsTypeName,		
		PaymentTypeId=@PaymentTypeId,
		PaymentTypeName=@PaymentTypeName,
		BankId=@BankId,
		BankName=@BankName,		
		Agent=@Agent,
		AgentName=@AgentName,
		UserName=@UserName,
		EName=@EName,		
		Description=@Description,
		BillNumber=@BillNumber
		
	where RId=@RId	
			
end
	RETURN